const runtime.traceTimeDiv
5 uses
runtime (current package)
tracetime.go#L41: const traceTimeDiv = (1-osHasLowResClockInt)*64 + osHasLowResClockInt*(256-224*(goarch.IsPpc64|goarch.IsPpc64le))
tracetime.go#L58: return traceTime(cputicks() / traceTimeDiv)
tracetime.go#L60: return traceTime(nanotime() / traceTimeDiv)
tracetime.go#L68: return uint64(ticksPerSecond() / traceTimeDiv)
tracetime.go#L72: return uint64(1.0 / float64(traceTimeDiv) * 1e9)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |